﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>提现</title>
<%@ include file="/page/wx/include.jsp"%>
<link rel="stylesheet" type="text/css" href="<%=basePath%>/statics_wx/css/main2.css">
<script src="<%=basePath%>/statics_wx/js/jquery.1.11.3.min.js"></script>
<script src="<%=basePath%>/statics_wx/js/js.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/wx/my/wallet/withdraw.js"></script>
</head>
<c:if test="${caEntity.accountType == 'bank' }">
<body style="background:#f3f3f3">
<form action="${rootPath }/wx/my/wxWalletWithdraw/saveWalletWithdraw" method="post" id="withdrawForm">
<div class="tx_card">
	<a href="#">
    	<div class="tx_card_con">
        	<div class="pic">
            	<img src="<%=basePath%>/statics_wx/images/icon_yl.png" />
            </div>
            <div class="item-info">
            	<h2>${caEntity.bankName }</h2>
                <p>尾号 ******${caEntity.accountCode } (${caEntity.accountName})</p>
                <b></b>
            </div>
        </div>
    </a>
</div>
</c:if>
<c:if test="${caEntity.accountType == 'alipay' }">
<body style="background:#fff">
<form action="${rootPath }/wx/my/wxWalletWithdraw/saveWalletWithdraw" method="post" id="withdrawForm">
<div class="tx_part3">
	<p>
    	<i><img src="<%=basePath%>/statics_wx/images/icon_alipay1.png" /></i>
        <strong>
        	<em>${caEntity.accountName}</em>
            <span>${caEntity.alipayAccount}******</span>
        </strong>
    </p>
</div>
</c:if>
<div class="tx_part1">
	<div class="tx_part1_con">
    	<h3>提现金额</h3>
        <div class="tx_txt">
        	<strong></strong>
            <p>
            	<input type="text" class="inputstyle1" id="withdrawMoney" name="withdrawMoney" value="" />
            </p>
        </div>
        <div class="tx_part11">
        <input id="getableMoney" name="getableMoney" type="hidden" value="${wallet.getableMoney}" />
        	<div class="left"><p>可用余额<em>${wallet.getableMoney}</em></p></div>
            <div class="right">
            	<a href="#" id="allWithdraw">全部提现</a>
            </div>
        </div>
    </div>
</div>
<div class="tx_part2">
	<p>
    	<input type="button" id="withdrawBth" class="inputbtn1" value="确认提现" />
    </p>
</div>
<input id="accountId" name="accountId" type="hidden" value="${caEntity.id}" />
</form>
</body>
</html>